package com.mju.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mju.pojo.Order;
import com.mju.vo.OrderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDao extends BaseMapper<Order> {

    // 根据oid获取订单详情页信息
    List<OrderVo> queryOrderVoByOid(Integer oid);

    // 根据uid查询订单详情页列表信息
    List<OrderVo> queryOrderVoByUid(Integer uid);

}
